package com.zkzx.driver.mapper;

import com.zkzx.driver.mapper.entity.DriverBank;
import com.zkzx.driver.mapper.entity.DriverBankExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DriverBankMapper {
    long countByExample(DriverBankExample example);

    int deleteByExample(DriverBankExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DriverBank record);

    int insertSelective(DriverBank record);

    List<DriverBank> selectByExample(DriverBankExample example);

    DriverBank selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DriverBank record, @Param("example") DriverBankExample example);

    int updateByExample(@Param("record") DriverBank record, @Param("example") DriverBankExample example);

    int updateByPrimaryKeySelective(DriverBank record);

    int updateByPrimaryKey(DriverBank record);
}